<template>
  <div class="container">
    <div class="left-menu">
      <left-menu />
    </div>
    <div class="main">
      <router-view/>
    </div>
  </div>
</template>

<script>
import LeftMenu from './LeftMenu'
export default{
  name: 'App',
  components: {
    LeftMenu
  }
}
</script>
<style lang="less">
html,body{
  padding: 0;
  margin: 0;
  height: 100%;
}
.el-menu{
  border: none !important;
}
.link-style{
  text-decoration: none;
}
.container{
  display: flex;
  height: 100%;
  box-sizing: border-box;
  // border: 1px solid red;
  .left-menu{
    background-color: #304156;
    width: 200px;
    height: 100%;
  }
  .main{
    // border: 1px solid red;
    padding: 10px;
    box-sizing: border-box;
    flex: 1;
    overflow: auto;
  }
}
</style>
